package com.xxl.job.executor.service.jobhandler;

import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

@Component
public class MyXxlJob {

    @XxlJob("test1")
    public void test1() {
        for (int i = 0; i < 10; i++) {
            System.out.println("测试job" + i);
        }
    }

}
